package com.test.bean;

import java.util.List;

import com.test.model.Salgrade;

/**
 * 分装分页查询数据
 * mybatis 默认枚举处理在数据库中保存的是 枚举的名字  可以改变成使用枚举索引
 * 
 * @author huyong
 *
 */
public class Page {
	private int start;
	private int end;
	private int count;
	private List<Salgrade> salgrades;
	private SalgradeStatus salgradeStatus;

	public SalgradeStatus getSalgradeStatus() {
		return salgradeStatus;
	}

	public void setSalgradeStatus(SalgradeStatus salgradeStatus) {
		this.salgradeStatus = salgradeStatus;
	}

	public int getStart() {
		return start;
	}

	public void setStart(int start) {
		this.start = start;
	}

	public int getEnd() {
		return end;
	}

	public void setEnd(int end) {
		this.end = end;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public List<Salgrade> getSalgrades() {
		return salgrades;
	}

	public void setSalgrades(List<Salgrade> salgrades) {
		this.salgrades = salgrades;
	}

	@Override
	public String toString() {
		return "Page [start=" + start + ", end=" + end + ", count=" + count + ", salgrades=" + salgrades + "]";
	}

}
